package com.finesys.backend.common.model.base;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.ibatis.type.Alias;

/**
 * <p>Title: 用户操作日志</p>
 * <p>Description: </p>
 * <p>Copyright: CopyRight (c) 2020-2035</p>
 * <p>Company: finesys Co. LTD.</p>
 * <p>Author: lehoon</p>
 * <p>Date: 2020-10-20</p>
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Alias("userlog")
public class UserLogModel implements Serializable {

	private static final long serialVersionUID = -2318300303777793190L;
	@ApiModelProperty("id")
	private String id;
	@ApiModelProperty("用户id")
	private String userid;
	@ApiModelProperty("用户名称")
	private String username;
	@ApiModelProperty("操作内容")
	private String content;
	@ApiModelProperty("创建时间")
	private String createtime;

	public UserLogModel(String userid, String username, String content, String createtime) {
		this.userid = userid;
		this.username = username;
		this.content = content;
		this.createtime = createtime;
	}
}
